package edu.hwadee.entity;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * Company entity. @author MyEclipse Persistence Tools
 */

public class Company implements java.io.Serializable {

	// Fields

	private Integer companyId;
	private Area area;
	private Company company;
	private String companyName;
	private String phoneNumber;
	private String corporation;
	private String introduction;
	private Short property;
	private Short level;
	private String pinyin;
	private String codeNumber;
	private Date formingDate;
	private Set logisticsdemandsForSendCompany = new HashSet(0);
	private Set ems = new HashSet(0);
	private Set companies = new HashSet(0);
	private Set carsForHold = new HashSet(0);
	private Set companybanksForCompanyId = new HashSet(0);
	private Set staffsForCompany = new HashSet(0);
	private Set staffsForBank = new HashSet(0);
	private Set companypapersForCompanyId = new HashSet(0);
	private Set companybanksForBank = new HashSet(0);
	private Set companycooperationsForPartB = new HashSet(0);
	private Set majorbusinesses = new HashSet(0);
	private Set companycooperationsForPartA = new HashSet(0);
	private Set logisticsdemandsForReceiveCompany = new HashSet(0);
	private Set logisticsdemandsForCarrier = new HashSet(0);
	private Set buildrents = new HashSet(0);
	private Set companypapersForCertificationUnit = new HashSet(0);
	private Set tasksForTaskCompany = new HashSet(0);
	private Set tasksForReceiveCompany = new HashSet(0);
	private Set carcomplements = new HashSet(0);
	private Set carsells = new HashSet(0);
	private Set railagepaies = new HashSet(0);
	private Set carserverses = new HashSet(0);
	private Set papers = new HashSet(0);
	private Set buildsForUseCompany = new HashSet(0);
	private Set buildsForContractor = new HashSet(0);
	private Set carstocks = new HashSet(0);
	private Set supplierprices = new HashSet(0);
	private Set buildsForBelongCompany = new HashSet(0);
	private Set officematerialsForKeepingUnit = new HashSet(0);
	private Set carbuies = new HashSet(0);
	private Set goodssuppliers = new HashSet(0);
	private Set companytasks = new HashSet(0);
	private Set railagetasksForTaskCompany = new HashSet(0);
	private Set railagetasksForReceiveCompany = new HashSet(0);
	private Set clientbuiesForBuycompany = new HashSet(0);
	private Set payfees = new HashSet(0);
	private Set clientbuiesForSaleCompany = new HashSet(0);
	private Set officematerialsForSupplier = new HashSet(0);
	private Set companyreliesForRely = new HashSet(0);
	private Set goodsorders = new HashSet(0);
	private Set ownemsForSupplier = new HashSet(0);
	private Set companyreliesForRelied = new HashSet(0);
	private Set ownemsForBelong = new HashSet(0);
	private Set carsForDealer = new HashSet(0);
	private Set suppliersells = new HashSet(0);
	private Set oilbuies = new HashSet(0);
	private Set carsForControlCompany = new HashSet(0);

	// Constructors

	/** default constructor */
	public Company() {
	}

	/** full constructor */
	public Company(Area area, Company company, String companyName, String phoneNumber, String corporation,
			String introduction, Short property, Short level, String pinyin, String codeNumber, Date formingDate,
			Set logisticsdemandsForSendCompany, Set ems, Set companies, Set carsForHold, Set companybanksForCompanyId,
			Set staffsForCompany, Set staffsForBank, Set companypapersForCompanyId, Set companybanksForBank,
			Set companycooperationsForPartB, Set majorbusinesses, Set companycooperationsForPartA,
			Set logisticsdemandsForReceiveCompany, Set logisticsdemandsForCarrier, Set buildrents,
			Set companypapersForCertificationUnit, Set tasksForTaskCompany, Set tasksForReceiveCompany,
			Set carcomplements, Set carsells, Set railagepaies, Set carserverses, Set papers, Set buildsForUseCompany,
			Set buildsForContractor, Set carstocks, Set supplierprices, Set buildsForBelongCompany,
			Set officematerialsForKeepingUnit, Set carbuies, Set goodssuppliers, Set companytasks,
			Set railagetasksForTaskCompany, Set railagetasksForReceiveCompany, Set clientbuiesForBuycompany,
			Set payfees, Set clientbuiesForSaleCompany, Set officematerialsForSupplier, Set companyreliesForRely,
			Set goodsorders, Set ownemsForSupplier, Set companyreliesForRelied, Set ownemsForBelong, Set carsForDealer,
			Set suppliersells, Set oilbuies, Set carsForControlCompany) {
		this.area = area;
		this.company = company;
		this.companyName = companyName;
		this.phoneNumber = phoneNumber;
		this.corporation = corporation;
		this.introduction = introduction;
		this.property = property;
		this.level = level;
		this.pinyin = pinyin;
		this.codeNumber = codeNumber;
		this.formingDate = formingDate;
		this.logisticsdemandsForSendCompany = logisticsdemandsForSendCompany;
		this.ems = ems;
		this.companies = companies;
		this.carsForHold = carsForHold;
		this.companybanksForCompanyId = companybanksForCompanyId;
		this.staffsForCompany = staffsForCompany;
		this.staffsForBank = staffsForBank;
		this.companypapersForCompanyId = companypapersForCompanyId;
		this.companybanksForBank = companybanksForBank;
		this.companycooperationsForPartB = companycooperationsForPartB;
		this.majorbusinesses = majorbusinesses;
		this.companycooperationsForPartA = companycooperationsForPartA;
		this.logisticsdemandsForReceiveCompany = logisticsdemandsForReceiveCompany;
		this.logisticsdemandsForCarrier = logisticsdemandsForCarrier;
		this.buildrents = buildrents;
		this.companypapersForCertificationUnit = companypapersForCertificationUnit;
		this.tasksForTaskCompany = tasksForTaskCompany;
		this.tasksForReceiveCompany = tasksForReceiveCompany;
		this.carcomplements = carcomplements;
		this.carsells = carsells;
		this.railagepaies = railagepaies;
		this.carserverses = carserverses;
		this.papers = papers;
		this.buildsForUseCompany = buildsForUseCompany;
		this.buildsForContractor = buildsForContractor;
		this.carstocks = carstocks;
		this.supplierprices = supplierprices;
		this.buildsForBelongCompany = buildsForBelongCompany;
		this.officematerialsForKeepingUnit = officematerialsForKeepingUnit;
		this.carbuies = carbuies;
		this.goodssuppliers = goodssuppliers;
		this.companytasks = companytasks;
		this.railagetasksForTaskCompany = railagetasksForTaskCompany;
		this.railagetasksForReceiveCompany = railagetasksForReceiveCompany;
		this.clientbuiesForBuycompany = clientbuiesForBuycompany;
		this.payfees = payfees;
		this.clientbuiesForSaleCompany = clientbuiesForSaleCompany;
		this.officematerialsForSupplier = officematerialsForSupplier;
		this.companyreliesForRely = companyreliesForRely;
		this.goodsorders = goodsorders;
		this.ownemsForSupplier = ownemsForSupplier;
		this.companyreliesForRelied = companyreliesForRelied;
		this.ownemsForBelong = ownemsForBelong;
		this.carsForDealer = carsForDealer;
		this.suppliersells = suppliersells;
		this.oilbuies = oilbuies;
		this.carsForControlCompany = carsForControlCompany;
	}

	// Property accessors

	public Integer getCompanyId() {
		return this.companyId;
	}

	public void setCompanyId(Integer companyId) {
		this.companyId = companyId;
	}

	public Area getArea() {
		return this.area;
	}

	public void setArea(Area area) {
		this.area = area;
	}

	public Company getCompany() {
		return this.company;
	}

	public void setCompany(Company company) {
		this.company = company;
	}

	public String getCompanyName() {
		return this.companyName;
	}

	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}

	public String getPhoneNumber() {
		return this.phoneNumber;
	}

	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}

	public String getCorporation() {
		return this.corporation;
	}

	public void setCorporation(String corporation) {
		this.corporation = corporation;
	}

	public String getIntroduction() {
		return this.introduction;
	}

	public void setIntroduction(String introduction) {
		this.introduction = introduction;
	}

	public Short getProperty() {
		return this.property;
	}

	public void setProperty(Short property) {
		this.property = property;
	}

	public Short getLevel() {
		return this.level;
	}

	public void setLevel(Short level) {
		this.level = level;
	}

	public String getPinyin() {
		return this.pinyin;
	}

	public void setPinyin(String pinyin) {
		this.pinyin = pinyin;
	}

	public String getCodeNumber() {
		return this.codeNumber;
	}

	public void setCodeNumber(String codeNumber) {
		this.codeNumber = codeNumber;
	}

	public Date getFormingDate() {
		return this.formingDate;
	}

	public void setFormingDate(Date formingDate) {
		this.formingDate = formingDate;
	}

	public Set getLogisticsdemandsForSendCompany() {
		return this.logisticsdemandsForSendCompany;
	}

	public void setLogisticsdemandsForSendCompany(Set logisticsdemandsForSendCompany) {
		this.logisticsdemandsForSendCompany = logisticsdemandsForSendCompany;
	}

	public Set getEms() {
		return this.ems;
	}

	public void setEms(Set ems) {
		this.ems = ems;
	}

	public Set getCompanies() {
		return this.companies;
	}

	public void setCompanies(Set companies) {
		this.companies = companies;
	}

	public Set getCarsForHold() {
		return this.carsForHold;
	}

	public void setCarsForHold(Set carsForHold) {
		this.carsForHold = carsForHold;
	}

	public Set getCompanybanksForCompanyId() {
		return this.companybanksForCompanyId;
	}

	public void setCompanybanksForCompanyId(Set companybanksForCompanyId) {
		this.companybanksForCompanyId = companybanksForCompanyId;
	}

	public Set getStaffsForCompany() {
		return this.staffsForCompany;
	}

	public void setStaffsForCompany(Set staffsForCompany) {
		this.staffsForCompany = staffsForCompany;
	}

	public Set getStaffsForBank() {
		return this.staffsForBank;
	}

	public void setStaffsForBank(Set staffsForBank) {
		this.staffsForBank = staffsForBank;
	}

	public Set getCompanypapersForCompanyId() {
		return this.companypapersForCompanyId;
	}

	public void setCompanypapersForCompanyId(Set companypapersForCompanyId) {
		this.companypapersForCompanyId = companypapersForCompanyId;
	}

	public Set getCompanybanksForBank() {
		return this.companybanksForBank;
	}

	public void setCompanybanksForBank(Set companybanksForBank) {
		this.companybanksForBank = companybanksForBank;
	}

	public Set getCompanycooperationsForPartB() {
		return this.companycooperationsForPartB;
	}

	public void setCompanycooperationsForPartB(Set companycooperationsForPartB) {
		this.companycooperationsForPartB = companycooperationsForPartB;
	}

	public Set getMajorbusinesses() {
		return this.majorbusinesses;
	}

	public void setMajorbusinesses(Set majorbusinesses) {
		this.majorbusinesses = majorbusinesses;
	}

	public Set getCompanycooperationsForPartA() {
		return this.companycooperationsForPartA;
	}

	public void setCompanycooperationsForPartA(Set companycooperationsForPartA) {
		this.companycooperationsForPartA = companycooperationsForPartA;
	}

	public Set getLogisticsdemandsForReceiveCompany() {
		return this.logisticsdemandsForReceiveCompany;
	}

	public void setLogisticsdemandsForReceiveCompany(Set logisticsdemandsForReceiveCompany) {
		this.logisticsdemandsForReceiveCompany = logisticsdemandsForReceiveCompany;
	}

	public Set getLogisticsdemandsForCarrier() {
		return this.logisticsdemandsForCarrier;
	}

	public void setLogisticsdemandsForCarrier(Set logisticsdemandsForCarrier) {
		this.logisticsdemandsForCarrier = logisticsdemandsForCarrier;
	}

	public Set getBuildrents() {
		return this.buildrents;
	}

	public void setBuildrents(Set buildrents) {
		this.buildrents = buildrents;
	}

	public Set getCompanypapersForCertificationUnit() {
		return this.companypapersForCertificationUnit;
	}

	public void setCompanypapersForCertificationUnit(Set companypapersForCertificationUnit) {
		this.companypapersForCertificationUnit = companypapersForCertificationUnit;
	}

	public Set getTasksForTaskCompany() {
		return this.tasksForTaskCompany;
	}

	public void setTasksForTaskCompany(Set tasksForTaskCompany) {
		this.tasksForTaskCompany = tasksForTaskCompany;
	}

	public Set getTasksForReceiveCompany() {
		return this.tasksForReceiveCompany;
	}

	public void setTasksForReceiveCompany(Set tasksForReceiveCompany) {
		this.tasksForReceiveCompany = tasksForReceiveCompany;
	}

	public Set getCarcomplements() {
		return this.carcomplements;
	}

	public void setCarcomplements(Set carcomplements) {
		this.carcomplements = carcomplements;
	}

	public Set getCarsells() {
		return this.carsells;
	}

	public void setCarsells(Set carsells) {
		this.carsells = carsells;
	}

	public Set getRailagepaies() {
		return this.railagepaies;
	}

	public void setRailagepaies(Set railagepaies) {
		this.railagepaies = railagepaies;
	}

	public Set getCarserverses() {
		return this.carserverses;
	}

	public void setCarserverses(Set carserverses) {
		this.carserverses = carserverses;
	}

	public Set getPapers() {
		return this.papers;
	}

	public void setPapers(Set papers) {
		this.papers = papers;
	}

	public Set getBuildsForUseCompany() {
		return this.buildsForUseCompany;
	}

	public void setBuildsForUseCompany(Set buildsForUseCompany) {
		this.buildsForUseCompany = buildsForUseCompany;
	}

	public Set getBuildsForContractor() {
		return this.buildsForContractor;
	}

	public void setBuildsForContractor(Set buildsForContractor) {
		this.buildsForContractor = buildsForContractor;
	}

	public Set getCarstocks() {
		return this.carstocks;
	}

	public void setCarstocks(Set carstocks) {
		this.carstocks = carstocks;
	}

	public Set getSupplierprices() {
		return this.supplierprices;
	}

	public void setSupplierprices(Set supplierprices) {
		this.supplierprices = supplierprices;
	}

	public Set getBuildsForBelongCompany() {
		return this.buildsForBelongCompany;
	}

	public void setBuildsForBelongCompany(Set buildsForBelongCompany) {
		this.buildsForBelongCompany = buildsForBelongCompany;
	}

	public Set getOfficematerialsForKeepingUnit() {
		return this.officematerialsForKeepingUnit;
	}

	public void setOfficematerialsForKeepingUnit(Set officematerialsForKeepingUnit) {
		this.officematerialsForKeepingUnit = officematerialsForKeepingUnit;
	}

	public Set getCarbuies() {
		return this.carbuies;
	}

	public void setCarbuies(Set carbuies) {
		this.carbuies = carbuies;
	}

	public Set getGoodssuppliers() {
		return this.goodssuppliers;
	}

	public void setGoodssuppliers(Set goodssuppliers) {
		this.goodssuppliers = goodssuppliers;
	}

	public Set getCompanytasks() {
		return this.companytasks;
	}

	public void setCompanytasks(Set companytasks) {
		this.companytasks = companytasks;
	}

	public Set getRailagetasksForTaskCompany() {
		return this.railagetasksForTaskCompany;
	}

	public void setRailagetasksForTaskCompany(Set railagetasksForTaskCompany) {
		this.railagetasksForTaskCompany = railagetasksForTaskCompany;
	}

	public Set getRailagetasksForReceiveCompany() {
		return this.railagetasksForReceiveCompany;
	}

	public void setRailagetasksForReceiveCompany(Set railagetasksForReceiveCompany) {
		this.railagetasksForReceiveCompany = railagetasksForReceiveCompany;
	}

	public Set getClientbuiesForBuycompany() {
		return this.clientbuiesForBuycompany;
	}

	public void setClientbuiesForBuycompany(Set clientbuiesForBuycompany) {
		this.clientbuiesForBuycompany = clientbuiesForBuycompany;
	}

	public Set getPayfees() {
		return this.payfees;
	}

	public void setPayfees(Set payfees) {
		this.payfees = payfees;
	}

	public Set getClientbuiesForSaleCompany() {
		return this.clientbuiesForSaleCompany;
	}

	public void setClientbuiesForSaleCompany(Set clientbuiesForSaleCompany) {
		this.clientbuiesForSaleCompany = clientbuiesForSaleCompany;
	}

	public Set getOfficematerialsForSupplier() {
		return this.officematerialsForSupplier;
	}

	public void setOfficematerialsForSupplier(Set officematerialsForSupplier) {
		this.officematerialsForSupplier = officematerialsForSupplier;
	}

	public Set getCompanyreliesForRely() {
		return this.companyreliesForRely;
	}

	public void setCompanyreliesForRely(Set companyreliesForRely) {
		this.companyreliesForRely = companyreliesForRely;
	}

	public Set getGoodsorders() {
		return this.goodsorders;
	}

	public void setGoodsorders(Set goodsorders) {
		this.goodsorders = goodsorders;
	}

	public Set getOwnemsForSupplier() {
		return this.ownemsForSupplier;
	}

	public void setOwnemsForSupplier(Set ownemsForSupplier) {
		this.ownemsForSupplier = ownemsForSupplier;
	}

	public Set getCompanyreliesForRelied() {
		return this.companyreliesForRelied;
	}

	public void setCompanyreliesForRelied(Set companyreliesForRelied) {
		this.companyreliesForRelied = companyreliesForRelied;
	}

	public Set getOwnemsForBelong() {
		return this.ownemsForBelong;
	}

	public void setOwnemsForBelong(Set ownemsForBelong) {
		this.ownemsForBelong = ownemsForBelong;
	}

	public Set getCarsForDealer() {
		return this.carsForDealer;
	}

	public void setCarsForDealer(Set carsForDealer) {
		this.carsForDealer = carsForDealer;
	}

	public Set getSuppliersells() {
		return this.suppliersells;
	}

	public void setSuppliersells(Set suppliersells) {
		this.suppliersells = suppliersells;
	}

	public Set getOilbuies() {
		return this.oilbuies;
	}

	public void setOilbuies(Set oilbuies) {
		this.oilbuies = oilbuies;
	}

	public Set getCarsForControlCompany() {
		return this.carsForControlCompany;
	}

	public void setCarsForControlCompany(Set carsForControlCompany) {
		this.carsForControlCompany = carsForControlCompany;
	}

}